// 2013-8-31下午06:46:38  net.betou.trade.role.setting.ProxyFinderConfig.java

package net.betou.trade.role.setting;

import net.betou.core.entity.ConfigLogin;
import net.betou.trade.entity.main.AgentAndAdmins;

/**
 * 
 * @author 叶装装
 */
public class ProxyFinderConfig extends FinderConfig{

	public ProxyFinderConfig( AgentAndAdmins admin ){
		super( admin, ConfigLogin.CONFIG_AGENT );
	}
	
	@Override
	protected boolean findSelf( ) {
		return false;
	}

	@Override
	protected String getBegin( ) {
		return "id in(";
	}

	@Override
	protected String getEnd( ) {
		return " ) and is_system=0 and just_admin=0 and is_agency=0";
	}
	
}
